import React from "react";
import { observer } from "mobx-react";
import { getFormatDate } from "../../../../../utils/date";

function ActivityListItem(props) {
    const { activity } = props;
    return (
        <li>
            <div>{activity.name}</div>
            <div>
                发起人：<span>{activity.leader}</span>
            </div>
            <div>
                时间：<span>{activity.time}</span>
            </div>
            <div>
                地点：<span>{activity.address}</span>
            </div>
            <div>
                人数：<span>{activity.partnum}</span>
            </div>
        </li>
    );
}

export default observer(ActivityListItem);
